<?php
header('content-type:text/html; charset=utf-8');
$id=$_REQUEST['id'];
$login=$_REQUEST['login'];
$qq=$_REQUEST['qq'];
$phone=$_REQUEST['phone'];
echo $id;
echo $login;
echo $qq;
echo $phone;

$pdo=new PDO('mysql:dbname=mydb3;charset=utf8','root');
$star=$pdo->prepare('update  from user where id=:id');
$star->execute(array('id'=>$id));
$data=$star->fetchAll(PDO::FETCH_NAMED);
var_dump($data);